package com.zkingsoft.laqeelin.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.laqeelin.bean.BizHelpActivity;

/**
 * @description (助力活动表)
 * @author 何明
 * @date 2018-09-01 10:35
 */
public interface BizHelpActivityDao{

	public int insert(@Param("item") BizHelpActivity bizHelpActivity);
   	
   	public int batchInsert(@Param("list") List<BizHelpActivity> bizHelpActivityList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")BizHelpActivity bizHelpActivity);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String actId);

	public int deleteByModel(@Param("record") BizHelpActivity bizHelpActivity);
	
	public List<BizHelpActivity> selectInPage(@Param("record") BizHelpActivity bizHelpActivity, @Param("pageVo") PaginationVO pageVo);

	public List<BizHelpActivity> selectByModel(@Param("record") BizHelpActivity bizHelpActivity);
	
	public int selectTotalRecord(@Param("record") BizHelpActivity bizHelpActivity);
	
	public BizHelpActivity  selectById(String actId);
	
	public BizHelpActivity  selectForUpdate(String actId);
	
	public BizHelpActivity selectByActId(String actId);
}